<template>
	<view class="box" @click="gotoSearch">
		<view class="search">
			<uni-icons type="search" size="20"></uni-icons>
			搜索
		</view>
	</view>
</template>

<script>
	export default {
		name:"shop-search",
		data() {
			return {
				
			};
		},
		methods: {
			gotoSearch() {
				uni.navigateTo({
					url: '/subpackage/search/search'
				})
			}
		}
	}
</script>

<style lang="scss">
	.box {
		width: 100%;
		background-color: #409eff;
		display: flex;
		justify-content: center;
		align-items: center;
		.search {
			width: 75%;
			background-color: #fff;
			border-radius: 10px;
			text-align: center;
			margin: 10rpx 0;
			padding: 3rpx 0;
		}
	}
</style>
